/*
 * @Author: duchengdong
 * @Date: 2023-07-20 11:20:58
 * @LastEditors: duchengdong
 * @LastEditTime: 2023-08-07 10:39:58
 * @Description:
 */
import { defineConfig } from 'vitest/config'
import { alias } from './alias'
export default defineConfig({
  optimizeDeps: {
    entries: []
  },
  resolve: {
    alias
  },
  test: {
    include: [
      'test/**/*.test.ts',
      'test/**/*.spec.ts',
      'test/**/*.test.js',
      'test/**/*.spec.js'
    ],
    coverage: {
      provider: 'istanbul', // or 'v8'
      reportOnFailure: true,
      reporter: ['html', 'json'],
      reportsDirectory: './html/coverage'
    },
    reporters: ['html']
  }
})
